﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MangoMes.Commont.Domain.Productions
{
    /// <summary>
    /// 生产退料单行表
    /// </summary>
    [Table("Rejections")]
    public class Rejections
    {
        [Key]
        /// <summary>
        /// 主键ID
        /// </summary>
        public int RejectionId { get; set; }
        /// <summary>
        /// 物料编码
        /// </summary>
        public string? productManageNode { get; set; }
        /// <summary>
        /// 物料名称
        /// </summary>
        public string? productManageName { get; set; }
        /// <summary>
        /// 规格型号
        /// </summary>
        public string? productManageNumber { get; set; }
        /// <summary>
        /// 单位
        /// </summary>
        public string? unites { get; set; }
        /// <summary>
        /// 批次号
        /// </summary>
        public string? ProdLot { get; set; }
        /// <summary>
        /// 退料数量
        /// </summary>
        public int RejectCount { get; set; }
        /// <summary>
        /// 接收仓库（仓库ID）
        /// </summary>
        public int StashId { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int RejectionStatus { get; set; }
        /// <summary>
        /// 退料单编号
        /// </summary>
        public string? StrippingNode { get; set; }
    }
}
